<div class="addresses form">
<?php echo $this->Form->create('Address');?>
	<fieldset>
 		<legend><?php __('Edit Address'); ?></legend>
	<?php
		echo $this->Form->input('address_id');
		echo $this->Form->input('street');
		echo $this->Form->input('number');
		echo $this->Form->input('floor');
		echo $this->Form->input('flat');
		echo $this->Form->input('province_id',array('options' => $addressProvinces));		
		echo $this->Form->input('city_id',array('options'=> $addressCities));
		echo $this->Form->input('neighborhood_id',array('options' => $addressNeighborhoods));
		echo $this->Form->input('postal_code');
		echo $this->Form->hidden('created_by');
		echo $this->Form->hidden('updated_by');
	?>
	</fieldset>
<?php echo $this->Form->end(__('Submit', true));?>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('List Addresses', true), array('action' => 'index'));?></li>
		<li><?php echo $this->Html->link(__('List Territories', true), array('controller' => 'territories', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('List People', true), array('controller' => 'people', 'action' => 'index')); ?> </li>
	</ul>
</div>